unit Unit4;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, ExtCtrls, DBCtrls, Grids, DBGrids;

type
  TForm4 = class(TForm)
    DBGrid1: TDBGrid;
    DBNavigator1: TDBNavigator;
    procedure FormCreate(Sender: TObject);
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form4: TForm4;

implementation

uses unit2;
{$R *.dfm}

procedure TForm4.FormCreate(Sender: TObject);
begin
DBGrid1.Columns.Items[0].Width:=40;
DBGrid1.Columns.Items[1].Width:=195;
end;

procedure TForm4.FormClose(Sender: TObject; var Action: TCloseAction);
begin
Action:=caFree;
end;

end.
 